package com.liusaidh.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author liusaidh
 * @date 2024/5/9 21:31
 * @description  获取别人对我的文章的评论
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    @ApiModelProperty(value = "文章的id")
    private Integer blogId;
    @ApiModelProperty(value = "评论我的人的id")
    private Integer userId;
    @ApiModelProperty(value = "文章的标签")
    private String label;
    @ApiModelProperty(value = "评论的id")
    private Integer commentId;
    @ApiModelProperty(value = "别人评论的内容")
    private String otherCommentText;
    @ApiModelProperty(value = "我的一级评论的内容")
    private String myCommentText;
    @ApiModelProperty(value = "评论的时间")
    private String commentTime;
    @ApiModelProperty(value = "文章的内容")
    private String blogText;
    @ApiModelProperty(value = "文章的图片,可能为空")
    private String blogUrl;
    @ApiModelProperty(value = "0：代表评论的是文章，1：代表评论的是我的评论")
    private Integer state;
    @ApiModelProperty(value = "评论我的人的信息，地址、头像、昵称")
    private UserCopy othersInfo;
    @ApiModelProperty(value = "我的信息，地址、头像、昵称")
    private UserCopy myInfo;
}
